package wangxiaotao.converter;

import org.mapstruct.Mapper;
import wangxiaotao.bean.vo.RoleVO;
import wangxiaotao.entity.Role;

@Mapper(componentModel = "spring")
public interface RoleConverter {

    RoleVO toRoleVO(Role role);

    Role toRole(RoleVO roleVO);

}
